package com.bw.user.proxy.dongtai1;

import java.lang.reflect.InvocationHandler;
import java.lang.reflect.Method;

/**
 * @ClassName A
 * @Author Hao_YunKai
 * @Date 2022/4/9 9:33
 */
public class A implements InvocationHandler {
    Object object;

    @Override
    public Object invoke(Object proxy, Method method, Object[] objects) throws Throwable {
        System.out.println("java前 ---");
        method.invoke(object,objects);
        System.out.println("java后 ---");
        return null;
    }
}
